<?php

namespace common\models\cb;

class CBMultiplier
{
    private $factor;

    public function __construct($factor)
    {
        $this->factor = $factor;
    }

    public function __invoke($number)
    {
        return $number * $this->factor;
    }
}
